﻿namespace Pathfinding
{
    using System;

    public class SearchNode
    {
        public int cost;
        public SearchNode next;
        public SearchNode nextListElem;
        public int pathCost;
        public Point3D position;

        public SearchNode(Point3D position, int cost, int pathCost, SearchNode next)
        {
            this.position = position;
            this.cost = cost;
            this.pathCost = pathCost;
            this.next = next;
        }
    }
}

